//split() 方法根据匹配给定的正则表达式来拆分字符串
//public String[] split(String regex, int limit)

import java.util.Scanner;

public class TestDemo{
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        String[] split = scanner.nextLine().split(",");
        System.out.print("a="+split[1].substring(2)+",b="+split[0].substring(2));
    }
}